<template>
  <div class="button" @click="clicked">
    <slot></slot>
  </div>
</template>
<script>
export default {
  name: "AkiButton",
  methods:{
    clicked(){
      this.$emit("click");
    }
  }
};
</script>

<style scoped lang="scss">
.button {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  height: 30px;
  background: cadetblue;
  color:blanchedalmond;
}
</style>
